//
//  QAddressBookCell.m
//  QoilPublic
//
//  Created by 杨凯 on 2017/8/8.
//  Copyright © 2017年 杨凯. All rights reserved.
//

#import "QAddressBookCell.h"
@interface QAddressBookCell()
@property (weak, nonatomic) IBOutlet UILabel *namelabel;
@property (weak, nonatomic) IBOutlet UILabel *phonelabel;

@end
@implementation QAddressBookCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}
- (void)setModel:(QContactModel *)model{
    _model = model;
    _namelabel.text = _model.name;
    _phonelabel.text = _model.phone;
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
